// XXSettingDlg.cpp : implementation file
//

#include "stdafx.h"
#include "XX.h"
#include "XXSettingDlg.h"


// CXXSettingDlg dialog

IMPLEMENT_DYNAMIC(CXXSettingDlg, CDialog)

CXXSettingDlg::CXXSettingDlg(CWnd* pParent /*=NULL*/)
	: CDialog(CXXSettingDlg::IDD, pParent)
	, m_iElapse(0)
	, m_strPrompt(_T(""))
	, m_bCheckTwoValue(FALSE)
{

}

CXXSettingDlg::~CXXSettingDlg()
{
}

void CXXSettingDlg::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	DDX_Text(pDX, IDC_ET_ELAPSE, m_iElapse);
	DDV_MinMaxInt(pDX, m_iElapse, 5, 60);
	DDX_Text(pDX, IDC_SET_PROMPT, m_strPrompt);
	DDX_Check(pDX, IDC_CHK_TWOVALUE, m_bCheckTwoValue);
}


BEGIN_MESSAGE_MAP(CXXSettingDlg, CDialog)
END_MESSAGE_MAP()


// CXXSettingDlg message handlers
